package com.punch.order.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.punch.common.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 课程结算详情表
 * </p>
 *
 * @author wjj
 * @since 2020-09-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("course_settlement_detail")
public class CourseSettlementDetail extends SuperEntity<CourseSettlementDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 结算对象id
     */
    @TableField("settlement_id")
    private Long settlementId;

    /**
     * 课程id
     */
    @TableField("course_id")
    private Long courseId;

    /**
     * 课程名称
     */
    @TableField("course_name")
    private String courseName;

    /**
     * 班级id
     */
    @TableField("course_class_id")
    private Long courseClassId;

    /**
     * 班级名称
     */
    @TableField("course_class_name")
    private String courseClassName;

    /**
     * 学校id
     */
    @TableField("school_id")
    private Long schoolId;

    /**
     * 学校名称
     */
    @TableField("school_name")
    private String schoolName;

    /**
     * 课时总数
     */
    @TableField("course_hour_count")
    private Integer courseHourCount;

    /**
     * 实际课时数
     */
    @TableField("course_finish_count")
    private Integer courseFinishCount;

    /**
     * 本月结算课时数
     */
    @TableField("settlement_class_count")
    private Integer settlementClassCount;

    /**
     * 结算金额
     */
    @TableField("settlement_amount")
    private BigDecimal settlementAmount;

    /**
     * 报名人数
     */
    @TableField("sign_up_number")
    private Integer signUpNumber;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
